package org.opencare.ndwc.persistence;

import java.util.List;

import org.opencare.ndwc.model.EventLevel;
import org.springframework.dao.DataAccessException;

public interface EventLevelDao {
	
    public EventLevel find(Long id) throws DataAccessException;
	
	public List<EventLevel> findAll() throws DataAccessException;
	
	public EventLevel findEventLevelByLevelName(String levelName) throws DataAccessException;

    public void save(EventLevel eventLevel) throws DataAccessException;

    public void remove(Long id) throws DataAccessException;
    
    public void removeAll() throws DataAccessException;
    
    public Long countEventLevel() throws DataAccessException;
}
